package com.shawn.spring.boot.redis.repository;

import com.shawn.spring.boot.redis.entity.CoffeeCacheEntity;
import java.util.Optional;
import org.springframework.data.repository.CrudRepository;

public interface CoffeeCacheRepository extends CrudRepository<CoffeeCacheEntity, Long> {
  Optional<CoffeeCacheEntity> findOneByName(String name);
}
